package com.coocaa.ops.admin.v1.audit.model;

import com.coocaa.ops.common.core.base.model.ResourceBaseModel;
import lombok.Data;

/**
 * @author bijiahao
 * @date : 2018/6/15.
 * @description
 *     审核操作信息模型类
 *
 */
@Data
public class ExecutionTaskModel extends ResourceBaseModel {
    private Integer auditFlag;
    private String auditDesc;

    public ExecutionTaskModel() {
    }

    public ExecutionTaskModel(Integer id, Integer version, String type, Integer auditFlag) {
        super(type, id, version);
        this.auditFlag = auditFlag;
    }

    public static ExecutionTaskModel getExecutionTaskModel(Integer id, Integer version, String type, Integer auditFlag) {
        return new ExecutionTaskModel(id, version, type, auditFlag);
    }
}
